const Router = require('koa-router')
const rootRouter = new Router()

// 子模块中的路由给包含到主路由
rootRouter.use('/news',require('./module/news'))
rootRouter.use('/user',require('./module/user'))

module.exports = rootRouter.routes()